package chen.web.forum;

import java.util.HashSet;
import java.util.Set;

import chen.web.user.PermissionConfig;

public class TopicPermissionConfig implements PermissionConfig {
	
	//管理区域, 栏目id集合
	private Set<Integer> managementCategoryIds = new HashSet<Integer>();
	//管理操作
	private boolean cancelTop;
	private boolean deleteReply;
	private boolean deleteSubject;
	private boolean forbidReply;
	private boolean hideReplyContent;
	private boolean hideSubjectContent;
	private boolean setTop;
	private boolean setDigest;
	private boolean moveSubject;
	private boolean updateReply;
	private boolean updateSubject;
	private boolean checkSubject;
	private boolean checkReply;
	private boolean restoreSubject;
	private boolean restoreReply;
	//普通操作
	private boolean postReply;
	private boolean postSubject;
	private boolean updateOwnReply;
	private boolean updateOwnSubject;
	
	public Set<Integer> getManagementCategoryIds() {
		return managementCategoryIds;
	}

	public void setManagementCategoryIds(Set<Integer> managementCategoryIds) {
		this.managementCategoryIds = managementCategoryIds;
	}

	public boolean isCancelTop() {
		return cancelTop;
	}



	public void setCancelTop(boolean cancelTop) {
		this.cancelTop = cancelTop;
	}



	public boolean isDeleteReply() {
		return deleteReply;
	}



	public void setDeleteReply(boolean deleteReply) {
		this.deleteReply = deleteReply;
	}



	public boolean isDeleteSubject() {
		return deleteSubject;
	}



	public void setDeleteSubject(boolean deleteSubject) {
		this.deleteSubject = deleteSubject;
	}



	public boolean isForbidReply() {
		return forbidReply;
	}



	public void setForbidReply(boolean forbidReply) {
		this.forbidReply = forbidReply;
	}



	public boolean isHideReplyContent() {
		return hideReplyContent;
	}



	public void setHideReplyContent(boolean hideReplyContent) {
		this.hideReplyContent = hideReplyContent;
	}



	public boolean isHideSubjectContent() {
		return hideSubjectContent;
	}



	public void setHideSubjectContent(boolean hideSubjectContent) {
		this.hideSubjectContent = hideSubjectContent;
	}



	public boolean isSetTop() {
		return setTop;
	}



	public void setSetTop(boolean setTop) {
		this.setTop = setTop;
	}



	public boolean isUpdateReply() {
		return updateReply;
	}



	public void setUpdateReply(boolean updateReply) {
		this.updateReply = updateReply;
	}



	public boolean isUpdateSubject() {
		return updateSubject;
	}



	public void setUpdateSubject(boolean updateSubject) {
		this.updateSubject = updateSubject;
	}



	public boolean isPostReply() {
		return postReply;
	}



	public void setPostReply(boolean postReply) {
		this.postReply = postReply;
	}



	public boolean isPostSubject() {
		return postSubject;
	}



	public void setPostSubject(boolean postSubject) {
		this.postSubject = postSubject;
	}
	

	public void setSetDigest(boolean setDigest) {
		this.setDigest = setDigest;
	}

	public boolean isSetDigest() {
		return setDigest;
	}

	public void setUpdateOwnReply(boolean updateOwnReply) {
		this.updateOwnReply = updateOwnReply;
	}

	public boolean isUpdateOwnReply() {
		return updateOwnReply;
	}

	public void setUpdateOwnSubject(boolean updateOwnSubject) {
		this.updateOwnSubject = updateOwnSubject;
	}

	public boolean isUpdateOwnSubject() {
		return updateOwnSubject;
	}

	public void setMoveSubject(boolean moveSubject) {
		this.moveSubject = moveSubject;
	}

	public boolean isMoveSubject() {
		return moveSubject;
	}

	public void setCheckReply(boolean checkReply) {
		this.checkReply = checkReply;
	}

	public boolean isCheckReply() {
		return checkReply;
	}

	public void setCheckSubject(boolean checkSubject) {
		this.checkSubject = checkSubject;
	}

	public boolean isCheckSubject() {
		return checkSubject;
	}

	public void setRestoreSubject(boolean restoreSubject) {
		this.restoreSubject = restoreSubject;
	}

	public boolean isRestoreSubject() {
		return restoreSubject;
	}

	public void setRestoreReply(boolean restoreReply) {
		this.restoreReply = restoreReply;
	}

	public boolean isRestoreReply() {
		return restoreReply;
	}

}
